package org.haifi.game.dao;

import java.util.List;

import org.apache.ibatis.session.RowBounds;

public interface BaseMapper<T> {
	public T get(int id);

	public int getAmount();

	public void update(T instance);

	public List<T> getList(T search, RowBounds bounds);
}
